<? echo "<?xml version=\"1\" encode=\"utf-8\"?>"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
	"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
	<head>
		<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
		<script src="webapp/js/prototype.js" type="text/javascript"></script>
		<script src="webapp/js/scriptaculous.js" type="text/javascript"></script>
		<link rel="stylesheet" href="webapp/css/blueprint/screen.css" type="text/css" media="screen, projection" />
		<link rel="stylesheet" href="webapp/css/blueprint/print.css" type="text/css" media="print" /> 
		<link rel="stylesheet" href="webapp/css/blueprint/plugins/fancy-type/screen.css" type="text/css"  media="screen, projection" />
		<link rel="stylesheet" href="webapp/css/blueprint/plugins/buttons/screen.css" type="text/css"  media="screen, projection" />
		<!--[if IE]>
			<link rel="stylesheet" href="webapp/css/blueprint/ie.css" type="text/css" media="screen, projection" />
		<![endif]-->
		<link rel="stylesheet" href="<?= __template_css("main");?>" type="text/css" media="screen, projection" />
		<title><?= __s("home","welcome",__param("system","appname")); ?></title>
		<meta name="description" content="css test demo stylesheet" />
	</head>
	<body>
		<div class="container">
			<div id="content" class="span-24">
				<h1><a href="/" title="<?= __("home","gohome") ?>"><?= __s("home","welcome",__("system","title")); ?></a></h1>
				<h2 class="alt prepend-10"><?= __("system","subtitle") ?></h2>
				<div style="float:left;">
					<? __template("managers/home/categories"); ?>
				</div>
				<? __template("managers/home/menu"); ?>
				<hr />
			</div>
			<div id="content" class="span-24">
				<div id="test" class="span-24">
					<h2 class="alt"><?= __('home','news_title')?></h2>
					<? Application::getInstance()->display("post");?>
				</div>
				<hr />
				<div class="products span-24">
					<h2 class="alt"><?= __('home','catalog_title')?></h2>
					<? __template("entities/product/list"); ?>
				</div>
				<hr />
				<h2 class="alt"><?= __('home','tests_title')?></h2>
					<? __template("managers/home/tests"); ?>
			</div>
			<hr/>
			<div id="footer" class="span-24 prepend-7">
				<p><?= __('home','footer')?></p>
			</div>
		</div>
		<?= __displaydebug()?>
	</body>
</html>